/* ************************************************************************** */ 
/* Example of a syndication feed reader using the Project Rome API with       */ 
/* BSF4ooRexx                                                                 */ 
/* current version of Rome: rome1.0.jar            https://rome.dev.java.net/ */ 
/* You need to implement this API plus the JDOM API                           */ 
/* jdom.jar  ,   you can find this at               https://jdom.org/        ; */ 
/*                                                                            */ 
/* This class retrieves a syndfeed from the web by using a precreated         */ 
/* Java class via BSF4ooRexx                                                  */ 
/* "com.sun.syndication.io.SyndFeedInput" methods                             */                        
/* created by Martin Stoppacher       date:  26.12.2009                       */ 
/* license:ÊÊÊÊLGPL 3.0ÊÊÊÊÊÊÊused versions: Java 1.6, ooRexx 4.0, Bsf4ooRexx */ 
/*             (Lesser Gnu Public License version 3.0),                       */ 
/*             cf. <http://www.gnu.org/licenses/lgpl.html>                    */ 
/* ************************************************************************** */ 

javaclass = "FeedReader1"              /* determine Java class to use         */ 
get=.bsf~new(javaClass)                /* create an instance of "javaClass"   */ 
say get~getfeed         /* calls the getfeed method in the FeedReader1 class  */ 

::requires BSF.CLS                     /* get the Java support                */